package com.aliyun.oss.service;

import com.aliyun.oss.pojo.DTO.ShowUserInfoDTO;
import com.aliyun.oss.pojo.Entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserService extends IService<User>{
    List<User> getAllUsers();

    List<User> queryUserLikeByName(String name);

    void updateUserById(Integer operatorId, ShowUserInfoDTO showUserInfoDTO);

    void updateUserStatusById(Integer operatorId, Integer id, Integer status);

    void addUser(Integer operatorId, ShowUserInfoDTO showUserInfoDTO);

    void updateUserPasswordById(Integer operatorId, String password);
}
